
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"

#include "string.h"

int main( int argc, char* args[] )
{

	//The attributes of the screen
	const int SCREEN_WIDTH = 640;
	const int SCREEN_HEIGHT = 480;
	const int SCREEN_BPP = 32;

	//Pantalla
	SDL_Surface* screen = NULL;
	SDL_Surface* mensaje = NULL;

	SDL_Surface* fondo = NULL;

	//King Kong
	SDL_Surface* KKong_frente = NULL;
	SDL_Surface* KKong_izq = NULL;
	SDL_Surface* KKong_der = NULL;

	//StartSDL
	SDL_Init( SDL_INIT_EVERYTHING );

	screen = SDL_SetVideoMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, SDL_SWSURFACE);

	KKong_frente= SDL_LoadBMP("./imagenes/fondo_pantalla.bmp");

	SDL_BlitSurface(KKong_frente, NULL, screen, NULL);

    //comentario de prueba

	SDL_Flip(screen);
	SDL_Delay(20000);

	SDL_FreeSurface(KKong_frente);

	//QuitSDL
	SDL_Quit();

	return 0;
}
